#ifndef __DOOR_H
#define __DOOR_H

#include "../utils/error.h"
#include "../utils/nocopyable.h"


namespace driver {

class Door : public utils::NoCopyable {

public:
    void init();

    bool is_close() const;
    bool is_lock() const;

    utils::Error open();
    utils::Error close();

private:
};

extern Door door;

} // namespace driver

#endif
